package cn.bdqn.controller.wx;

import cn.bdqn.service.wx.ConsultationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ProjectName: ycbdqn
 * @Package: cn.bdqn.controller 咨询controller
 * @Author: huat
 * @Date: 2020/3/1 12:02
 * @Version: 1.0
 */
@RestController
@RequestMapping("wx")
public class ConsultationController {
    @Autowired
    ConsultationService consultationService;
    /**
     * 获取咨询手机号
     * @return
     */
    @RequestMapping("getPhone")
    public String getPhone(){
        return consultationService.getPhone();
    }

}
